package com.stylefeng.guns.modular.small.dao;

import com.stylefeng.guns.modular.small.model.BizConsumer;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 消费者（客户） Mapper 接口
 * </p>
 *
 * @author tyler
 * @since 2019-09-08
 */
public interface BizConsumerMapper extends BaseMapper<BizConsumer> {

    @Select("select *  from  biz_consumer where openId is not null and  wxInfo is  null")
    List<BizConsumer> findConsumerOpenIdIsNOTNULL();
}
